|
Server : Apache System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 User : matalashes ( 1004) PHP Version : 8.1.29 Disable Function : NONE Directory : /home/matalashes/www/kite.mata-lashes.com/vendor/rector/rector/vendor/nette/neon/src/Neon/ |
Upload File : |
<?php
/**
* This file is part of the Nette Framework (https://nette.org)
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare (strict_types=1);
namespace RectorPrefix20211231\Nette\Neon;
/** @internal */
final class Token
{
public const STRING = 1;
public const LITERAL = 2;
public const CHAR = 0;
public const COMMENT = 3;
public const NEWLINE = 4;
public const WHITESPACE = 5;
/** @var string */
public $value;
/** @var int */
public $offset;
/** @var int|string */
public $type;
public function __construct(string $value, int $offset, $type)
{
$this->value = $value;
$this->offset = $offset;
$this->type = $type;
}
}